package com.ljq;

public abstract class Article {
    private String id;
    private int CE;
    private String description;

    public abstract void useArticle(Article article, Creature targetCreature);

    public Article() {
    }

    public Article(String id, int CE, String description) {
        this.id = id;
        this.CE = CE;
        this.description = description;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getCE() {
        return CE;
    }

    public void setCE(int CE) {
        this.CE = CE;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public abstract void useArticle(Creature targetCreature);
}
